Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawLines Method / DrawLines(PointF[],Color,Single,DashStyle) Method
The array of points to connect.
The line color.
The line width.
The line style (solid by default).

In This Topic
    DrawLines(PointF[],Color,Single,DashStyle) Method
    In This Topic
    Draws a series of connected lines, using a specified line color, width and style.

    If the value of lineStyle parameter is not DashStyle.Solid, the lines are drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawLines( _
       ByVal points() As System.Drawing.PointF, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineWidth As System.Single, _
       Optional ByVal lineStyle As DashStyle _
    ) 
    public void DrawLines( 
       System.Drawing.PointF[] points,
       System.Drawing.Color lineColor,
       System.float lineWidth,
       DashStyle lineStyle
    )

    Parameters

    points
    The array of points to connect.
    lineColor
    The line color.
    lineWidth
    The line width.
    lineStyle
    The line style (solid by default).
    See Also